import React from 'react'
import { formatReviewProgreData } from '@/common/SettledReview'
import ReviewHandleProgress from '@/components/ReviewHandleProgress'

function DetailReviewProgress(props: IDetailReviewProgressProps) {
  const { processDetail } = props
  const handleProgreData = formatReviewProgreData(processDetail)
  return <ReviewHandleProgress title="处理进度" data={handleProgreData} />
}

export default React.memo(DetailReviewProgress)

interface IDetailReviewProgressProps {
  processDetail: any
}
